<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
	<!--html提供了一个标签，script-->
	<script>
		//prompt(“提示文本”,”默认值”);默认值可以省略不写
		//把用户输入的值用变量储存
		var a = prompt('请输入手机号');
		
		console.log(a);
		console.log(typeof a); //用这个方法得到值都是string类型!!!!
	</script>
 </head>
 <body>
  
 </body>
</html>
